Auto merge of #4060 - alexcrichton:nobare, r=matklad
authorbors <bors@rust-lang.org>
Wed, 17 May 2017 01:33:51 +0000 (01:33 +0000)
committerbors <bors@rust-lang.org>
Wed, 17 May 2017 01:33:51 +0000 (01:33 +0000)
commit2b32084293d8da63b48de56363a0f2e986ec3367
treeb28fec067e9874ce0ef85a3876a5fb3caeec2e27
parenta13266e139d22eb208f8928c174988bb73c221a8
parent00e5f9571f40450bf538c32ffb0c88374ea04372
Auto merge of #4060 - alexcrichton:nobare, r=matklad

Don't use a bare checkout of the index

Both old and new Cargo share the same index, so be sure to maintain
compatibility by initializing a non-bare repository for the index. Note that
a nightly Cargo still won't check out the index, but when an older Cargo comes
along and tries to check it out then it'll work.

Closes #4058
src/cargo/sources/registry/remote.rs